import request from '@/utils/request'

// 查询家长认证列表
export function listJz(query) {
    return request({
        url: '/by/jz/list',
        method: 'get',
        params: query
    })
}

// 查询家长认证详细
export function getJz(id) {
    return request({
        url: '/by/jz/' + id,
        method: 'get'
    })
}

// 新增家长认证
export function addJz(data) {
    return request({
        url: '/by/jz',
        method: 'post',
        data: data
    })
}

// 修改家长认证
export function updateJz(data) {
    return request({
        url: '/by/jz',
        method: 'put',
        data: data
    })
}

// 删除家长认证
export function delJz(id) {
    return request({
        url: '/by/jz/' + id,
        method: 'delete'
    })
}
